package com.xzy.custom;

import lombok.Data;

/**
 * TODO70
 *
 * @author Administrator
 * ClassName: AjaxResult
 * date: 2021/12/6 11:18
 */
@Data
public class AjaxResult {
    private Boolean success;
    private String msg;
    private Integer id;

    public AjaxResult(String msg) {
        super();
        this.success = true;
        this.msg = msg;
    }

    public AjaxResult(Boolean success, String msg) {
        super();
        this.success = success;
        this.msg = msg;
    }

    public AjaxResult(Boolean success, String msg,Integer id) {
        super();
        this.id = id;
        this.success = success;
        this.msg = msg;
    }
}
